package com.is.add.util.DimensionUtil;

import com.is.add.model.OrderBase;

/**
 * 场馆维度
 * Created by liuming on 2016/5/5.
 */
public class ShopDimension implements Dimension<OrderBase>{
    /**
     * 通过基础数据分析出维度对应key值
     *
     * @param baseBean 基础Bean
     * @return 维度key
     */
    @Override
    public String compare(OrderBase baseBean) {
        int id=baseBean.getShopId();
        String shopName = baseBean.getShopName();
        return String.valueOf(id+"-"+shopName);
    }

    @Override
    public String getTitle() {
        return "场馆";
    }
}
